import numpy as np

shuiti = np.array([[10,20,25],[15,30,28],[12,26,26]])
zhibei = np.array([[30,120,43],[39,150,45],[28,134,35]])
qita = np.array([[89,30,130],[47,100,210],[85,30,90]])
x = np.array([46,130,33])
center = np.array([shuiti.mean(axis = 0),zhibei.mean(axis = 0),qita.mean(axis = 0)])


print(np.sqrt(np.sum(np.square(center - x),axis=1)))